# -*- coding: utf-8; mode: snippet -*-
# name: fprintf(matrix-size)
# key: lo
# contributor: Chen Bin <chenbin DOT sh AT gmail>
# --
fprintf("${1:object} size = %d*%d\n", size(${1:$(yas/substr yas-text "[^ ]*")}, 1), size(${1:$(yas/substr yas-text "[^ ]*")}, 2));